package com.xinqi.modules.course.clazz.dto.req;


import com.xinqi.common.green.annotation.Text;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 学生加入班级审核-请求对象
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@Schema(description = "学生加入班级审核-新增")
public class ClassJoinAuditCreateDTO implements Serializable {

    /**
     * 班级ID
     */
    @NotNull(message = "缺少班级id")
    private Long classId;
    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 审核状态 UNAUDITED("UNAUDITED", "待审核"), PASS("PASS", "通过"), REJECT("REJECT", "拒绝");
     */
    private String status;
    /**
     * 审核人
     */
    private Long auditUserId;
    /**
     * 审核时间
     */
    private LocalDateTime auditTime;
    /**
     * 审核内容
     */
    @Text
    private String auditContent;
    /**
     * 审核意见
     */
    @Text
    private String auditResult;
}
